package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 安环公司考核排名对象 biz_anhuan_company
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-04-27
 */
@Data
public class BizAnhuanCompany extends BaseEntity<BizAnhuanCompany> {
    private static final long serialVersionUID = 1L;


    /**
     * 公司ID
     */
    @Excel(name = "公司ID")
    private String companyId;

    /**
     * 公司名称
     */
    @Excel(name = "公司名称")
    private String comname;

    /**
     * 当前评分周期
     */
    @Excel(name = "当前评分周期")
    private String cycle;

    /**
     * 当前评分
     */
    private BigDecimal score;

    /**
     * 上季度评分
     */
    private BigDecimal lastscore;

    /**
     * 本季度考核分平均分
     */
    private BigDecimal avgscore;

    /**
     * 最终得分
     */
    private BigDecimal finalscore;

    /**
     * 排序
     */
    private Long sort;

    /**
     * 状态（0正常 1 停用）
     */
    private String status;


    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setComname(String comname) {
        this.comname = comname;
    }

    public String getComname() {
        return comname;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public String getCycle() {
        return cycle;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setLastscore(BigDecimal lastscore) {
        this.lastscore = lastscore;
    }

    public BigDecimal getLastscore() {
        return lastscore;
    }

    public void setAvgscore(BigDecimal avgscore) {
        this.avgscore = avgscore;
    }

    public BigDecimal getAvgscore() {
        return avgscore;
    }

    public void setFinalscore(BigDecimal finalscore) {
        this.finalscore = finalscore;
    }

    public BigDecimal getFinalscore() {
        return finalscore;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("userId", getUserId()).append("deptId"
                , getDeptId()).append("userName", getUserName()).append("deptName", getDeptName()).append("companyId"
                , getCompanyId()).append("comname", getComname()).append("cycle", getCycle()).append("score",
                getScore()).append("lastscore", getLastscore()).append("avgscore", getAvgscore()).append("finalscore"
                , getFinalscore()).append("sort", getSort()).append("status", getStatus()).append("remark",
                getRemark()).append("id", getId()).append("createBy", getCreateBy()).append("createDept",
                getCreateDept()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append(
                        "updateTime", getUpdateTime()).append("updateIp", getUpdateIp()).append("version",
                getVersion()).append("delFlag", getDelFlag()).toString();
    }
}
